/*
 * Created on Dec 29, 2004
 */
package org.vectrics.company;

import java.io.Serializable;

import org.vectrics.common.db.Voidable;

/**
 * @author MMoore
 */
public class SalaryType implements Voidable, Serializable {

	private static final long serialVersionUID = -8297094626634070011L;
	
	private String code = null;
	private String name = null;
	private boolean voided = false;
	
	/**
	 * 
	 */
	public SalaryType() {
		super();
	}

	/**
	 * @return Returns the code.
	 */
	public String getCode() {
		return code;
	}
	
	/**
	 * @param code The code to set.
	 */
	public void setCode(String code) {
		this.code = code;
	}
	
	/**
	 * @return Returns the name.
	 */
	public String getName() {
		return name;
	}
	
	/**
	 * @param name The name to set.
	 */
	public void setName(String name) {
		this.name = name;
	}
	
	/**
	 * @return Returns the voided.
	 */
	public boolean getVoided() {
		return voided;
	}
	
	/**
	 * @param voided The voided to set.
	 */
	public void setVoided(boolean voided) {
		this.voided = voided;
	}
		
	public String toString() {
		return("|code=" + this.code + "|name=" + this.name);
	}
	
}
